\newcommand{\hlvers}{1.0$\beta$}
\newcommand{\ccindices}{
\begin{table}
\caption{Indices in a ``Card Catalog Data Base''.}
\label{tab:cardindex}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
{\tt id}& \vtop{\hsize=3.5in This index is by a unique identifier.
Each card has its own unique identifier.} \\
{\tt title}& This index is the title cross-reference. \\
{\tt author}& This index is the author cross-reference. \\
{\tt subject}& This index is a subject index. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\ccdbfig}{
\begin{figure}
\caption{Structure of a ``Card Catalog Data Base''.}
\label{fig:dbfile}

\begin{picture}(320,130)
\put(0,0){\fbox{
\begin{picture}(310,120)
%
\put(0,0){card catalog file}
%
\put(115.2,96){\framebox[72pt]{id index}}
\put(0,72){\framebox[72pt]{title index}}
\put(0,48){\framebox[72pt]{author index}}
\put(0,24){\framebox[72pt]{subject index}}
%
\put(237.6,96){\framebox[64.8pt]{Cards}}  % id
\put(86.4,72){\framebox[64.8pt]{lists}}  % title
\put(100.8,48){\framebox[64.8pt]{lists}}  % author
\put(115.2,24){\framebox[64.8pt]{lists}}  % subject
%
\put(187.2,96){\vector(1,0){50.4}}  % id -> cards
%
\put(72,72){\vector(1,0){14.4}}  % title -> lists
\put(72,48){\vector(1,0){28.8}}  % author -> lists
\put(72,24){\vector(1,0){43.2}}  % subject -> lists
%
\put(144,84){\vector(0,1){12}}  % (title->lists) -> (ids -> cards)
\put(158.4,60){\vector(0,1){36}}  % (author->lists) -> (ids -> cards)
\put(172.8,36){\vector(0,1){60}}  % (subject->lists) -> (ids -> cards)
%
\end{picture} }}
\end{picture}

\end{figure}
}
\newcommand{\cardfields}{
\begin{table}
\caption{Fields in a ``card''.}
\label{tab:cardfields}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
{\tt id}&A unique identifier. \\
%%\hline
{\tt type}&The type of item the card describes. \\
%%\hline
{\tt author}&For the author (or artist). \\ 
%%\hline
{\tt title}&For the title. \\ 
%%\hline
{\tt publisher}&For the name of the publisher. \\
%%\hline
{\tt city}&For the city where the item was published. \\
%%\hline
{\tt description}&For a long description. \\
%%\hline
{\tt volume}&For the volume number. \\
%%\hline
{\tt year}&For the year published. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\cardtypes}{
\begin{table}
\caption{Allowed types for a ``card''.}
\label{tab:cardtypes}

\begin{tabular}{|l|l|}
\hline
Name&Description \\
\hline
{\tt Book}& For books. \\
%%\hline
{\tt Magazine}& For magazines and periodicals. \\
%%\hline
{\tt CD}& For compact disks. \\
%%\hline
{\tt AudioCassette}& For audio cassettes. \\
%%\hline
{\tt Album}& For record albums. \\
%%\hline
{\tt LaserDisk}& For laser (video) disks. \\
%%\hline
{\tt VHSVideo}& For VHS format video tape recordings. \\
%%\hline
{\tt BetaVideo}& For Beta format video tape recordings. \\
%%\hline
{\tt EightMM}& For 8mm video tape recordings. \\
%%\hline
{\tt EightTrack}& For 8-track audio recordings. \\
%%\hline
{\tt DAT}& For 4mm digital audio tapes. \\
%%\hline
{\tt Other}& For anything else. \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\keybinds}{
\begin{table}
\caption{Common Key Bindings.}
\label{tab:keybind}

\begin{tabular}{|l|l|l|}
\hline
Special Key&Generic Key&Meaning \\
\hline
{\tt Home}&{\tt Esc}&Exit or quit \\
%\hline
$\leftarrow$ (left arrow)&{\tt Ctrl-B}&Move left \\
%\hline
$\rightarrow$ (right arrow)&{\tt Ctrl-F}&Move right \\
%\hline
$\uparrow$ (up arrow)&{\tt Ctrl-P}&Move up \\
%\hline
$\downarrow$ (down arrow)&{\tt Ctrl-N}&Move down \\
%\hline
&{\tt Delete} or {\tt Backspace}&\vtop{\hsize=1.5in Delete previous character} \\
%\hline
&{\tt Return} or {\tt Enter}&\vtop{\hsize=1.5in Accept input or selection} \\
\hline
\end{tabular}

\end{table}
}
\newcommand{\edcardkey}{
\begin{table}
\caption{Card Editor Key Bindings.}
\label{tab:edcardkey}

\begin{tabular}{|l|l|l|}
\hline
Special Key&Generic Key&Meaning \\
\hline
{\tt Home}&{\tt Esc}&Exit \\
%\hline
$\leftarrow$ (left arrow)&{\tt Ctrl-B}&Previous field \\
%\hline
$\rightarrow$ (right arrow)&{\tt Ctrl-F}&Next field \\
%\hline
$\uparrow$ (up arrow)&{\tt Ctrl-P}&Previous field \\
%\hline
$\downarrow$ (down arrow)&{\tt Ctrl-N}&Next field \\
%\hline
&{\tt Tab} or {\tt Ctrl-I}&Next field \\
%\hline
&{\tt i} or {\tt I}&Modify current field \\
%\hline
&{\tt Ctrl-L}&Repaint screen \\
%\hline
&{\tt ?}&Display help screen \\
%\hline
&{\tt Ctrl-S}&Save card \\
%\hline
&{\tt h} or {\tt H}&\vtop{\hsize=1.5in Give help for the current field} \\
\hline
\end{tabular}

\end{table}
}

